/*
 * mempcpy.h
 *
 *  Created on: Feb 23, 2011
 *      Author: pdrobov
 */

#ifndef MEMPCPY_H_
#define MEMPCPY_H_



inline
void * mempcpy (void *dest, const void *src, size_t n)
{
  return (char *) memcpy (dest, src, n) + n;
}


#endif /* MEMPCPY_H_ */
